<div xmlns:th="http://www.thymeleaf.org" th:fragment="articles">
    <ul th:if="${list} ne null">
        <li th:each="item : ${list}"><a th:text="${item.getArticleTitle()}"></a></li>
    </ul>
</div>